%{
    serializedAttrs  = play.templates.FastTags.serialize(_attrs,"href","bgClass","class","actionCode").raw();
        if(_actionCode){
                actions=framework.utils.SecurityUtil.getUserActions();
        }
}%
#{if !_actionCode||actions.indexOf(_actionCode)>-1}
<a  href=${_href?_href:'javascript:void(0);'} class="${_class?_class:''}" role="button" ${serializedAttrs}>${_arg}
</a>
#{/if}
